#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QTimer>
#include <QScrollArea>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QPropertyAnimation>
#include <QComboBox>
#include <QPushButton>

QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
    QWidget* createLeftPanel();
    QWidget* createRightPanel();
    QWidget* createStationInfoWidget();

    QWidget* createWeaponControlPanel();

    QWidget* createScrollingInfoList();
    void startScrollTimer();
    QVBoxLayout *scrollLayout = nullptr;
    QScrollArea *scrollArea = nullptr;
    QTimer *scrollTimer = nullptr;

private:
    Ui::Widget *ui;
};
#endif // WIDGET_H
